package com.lee

class User {

    String name
    Integer age
    String sex
    String addr

    static constraints = {

        name nullable: false
        age nullable: false, range: 1..100
        sex nullable: false
        addr nullable: false
        
    }
}
